package com.xuexisheqv.subject.domain.convert;

import com.xuexisheqv.subject.domain.entity.SubjectAnswerBO;
import com.xuexisheqv.subject.infra.basic.entity.SubjectJudge;
import com.xuexisheqv.subject.infra.basic.entity.SubjectMultiple;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MultiSubjectConverter {
    MultiSubjectConverter INSTANCE = Mappers.getMapper(MultiSubjectConverter.class);

    SubjectMultiple convertBoToEntity(SubjectAnswerBO subjectAnswerBO);


    List<SubjectAnswerBO> convertEntityToBoList(List<SubjectMultiple> subjectMultipleList);


}
